<div class="calendars view">
<h2><?php  __('Calendar');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Team Away'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($calendar['team_away']['id'], array('controller' => 'teams', 'action' => 'view', $calendar['team_away']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Team Home'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($calendar['team_home']['id'], array('controller' => 'teams', 'action' => 'view', $calendar['team_home']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Season'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($calendar['Season']['id'], array('controller' => 'seasons', 'action' => 'view', $calendar['Season']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Championship IDay'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Championship_iDay']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Championship IGroup'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Championship_iGroup']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Championship IdRule Types'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Championship_idRule_Types']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Championship IEliminitationLevel'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Championship_iEliminitationLevel']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Playoff IEliminationLevel'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Playoff_iEliminationLevel']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Playoff BAwayGame'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Playoff_bAwayGame']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away IScore'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_iScore']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away IReward'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_iReward']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away ICashEarned'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_iCashEarned']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away IPossessionBall'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_iPossessionBall']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Occupation IOwn'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Occupation_iOwn']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Occupation ITheir'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Occupation_iTheir']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away IMVP'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_iMVP']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Inflicted IPasses'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Inflicted_iPasses']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Inflicted ICatches'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Inflicted_iCatches']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Inflicted IInterceptions'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Inflicted_iInterceptions']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Inflicted ITouchdowns'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Inflicted_iTouchdowns']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Inflicted ICasualties'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Inflicted_iCasualties']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Inflicted ITackles'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Inflicted_iTackles']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Inflicted IKO'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Inflicted_iKO']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Inflicted IInjuries'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Inflicted_iInjuries']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Inflicted IDead'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Inflicted_iDead']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Inflicted IMetersRunning'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Inflicted_iMetersRunning']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Inflicted IMetersPassing'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Inflicted_iMetersPassing']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Sustained IPasses'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Sustained_iPasses']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Sustained ICatches'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Sustained_iCatches']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Sustained IInterceptions'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Sustained_iInterceptions']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Sustained ITouchdowns'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Sustained_iTouchdowns']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Sustained ICasualties'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Sustained_iCasualties']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Sustained ITackles'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Sustained_iTackles']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Sustained IKO'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Sustained_iKO']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Sustained IInjuries'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Sustained_iInjuries']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Sustained IDead'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Sustained_iDead']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Sustained IMetersRunning'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Sustained_iMetersRunning']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away Sustained IMetersPassing'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_Sustained_iMetersPassing']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away IMetersRunning'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_iMetersRunning']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Away IMetersPassing'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Away_iMetersPassing']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home IScore'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_iScore']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home IReward'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_iReward']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home ICashEarned'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_iCashEarned']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home IPossessionBall'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_iPossessionBall']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Occupation IOwn'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Occupation_iOwn']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Occupation ITheir'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Occupation_iTheir']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home IMVP'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_iMVP']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Inflicted IPasses'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Inflicted_iPasses']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Inflicted ICatches'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Inflicted_iCatches']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Inflicted IInterceptions'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Inflicted_iInterceptions']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Inflicted ITouchdowns'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Inflicted_iTouchdowns']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Inflicted ICasualties'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Inflicted_iCasualties']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Inflicted ITackles'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Inflicted_iTackles']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Inflicted IKO'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Inflicted_iKO']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Inflicted IInjuries'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Inflicted_iInjuries']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Inflicted IDead'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Inflicted_iDead']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Inflicted IMetersRunning'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Inflicted_iMetersRunning']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Inflicted IMetersPassing'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Inflicted_iMetersPassing']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Sustained IPasses'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Sustained_iPasses']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Sustained ICatches'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Sustained_iCatches']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Sustained IInterceptions'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Sustained_iInterceptions']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Sustained ITouchdowns'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Sustained_iTouchdowns']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Sustained ICasualties'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Sustained_iCasualties']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Sustained ITackles'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Sustained_iTackles']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Sustained IKO'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Sustained_iKO']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Sustained IInjuries'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Sustained_iInjuries']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Sustained IDead'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Sustained_iDead']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Sustained IMetersRunning'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Sustained_iMetersRunning']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home Sustained IMetersPassing'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_Sustained_iMetersPassing']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home IMetersRunning'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_iMetersRunning']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Home IMetersPassing'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['Home_iMetersPassing']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('ISpectators'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['iSpectators']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('IRating'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['iRating']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('BPlayed'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $calendar['Calendar']['bPlayed']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Edit Calendar', true), array('action' => 'edit', $calendar['Calendar']['id'])); ?> </li>
		<li><?php echo $html->link(__('Delete Calendar', true), array('action' => 'delete', $calendar['Calendar']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $calendar['Calendar']['id'])); ?> </li>
		<li><?php echo $html->link(__('List Calendars', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Calendar', true), array('action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Seasons', true), array('controller' => 'seasons', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Season', true), array('controller' => 'seasons', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Teams', true), array('controller' => 'teams', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Team Away', true), array('controller' => 'teams', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Player Casualties', true), array('controller' => 'player_casualties', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Player Casualty', true), array('controller' => 'player_casualties', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Player Statistics', true), array('controller' => 'player_statistics', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Player Statistic', true), array('controller' => 'player_statistics', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Player Casualties');?></h3>
	<?php if (!empty($calendar['PlayerCasualty'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Player Id'); ?></th>
		<th><?php __('Player Casualty Type Id'); ?></th>
		<th><?php __('Calendar Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($calendar['PlayerCasualty'] as $playerCasualty):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $playerCasualty['id'];?></td>
			<td><?php echo $playerCasualty['player_id'];?></td>
			<td><?php echo $playerCasualty['player_casualty_type_id'];?></td>
			<td><?php echo $playerCasualty['calendar_id'];?></td>
			<td class="actions">
				<?php echo $html->link(__('View', true), array('controller' => 'player_casualties', 'action' => 'view', $playerCasualty['id'])); ?>
				<?php echo $html->link(__('Edit', true), array('controller' => 'player_casualties', 'action' => 'edit', $playerCasualty['id'])); ?>
				<?php echo $html->link(__('Delete', true), array('controller' => 'player_casualties', 'action' => 'delete', $playerCasualty['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $playerCasualty['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('New Player Casualty', true), array('controller' => 'player_casualties', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Player Statistics');?></h3>
	<?php if (!empty($calendar['StatisticsPlayer'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Player Id'); ?></th>
		<th><?php __('IMatchPlayed'); ?></th>
		<th><?php __('IMVP'); ?></th>
		<th><?php __('Inflicted IPasses'); ?></th>
		<th><?php __('Inflicted ICatches'); ?></th>
		<th><?php __('Inflicted IInterceptions'); ?></th>
		<th><?php __('Inflicted ITouchdowns'); ?></th>
		<th><?php __('Inflicted ICasualties'); ?></th>
		<th><?php __('Inflicted ITackles'); ?></th>
		<th><?php __('Inflicted IKO'); ?></th>
		<th><?php __('Inflicted IStuns'); ?></th>
		<th><?php __('Inflicted IInjuries'); ?></th>
		<th><?php __('Inflicted IDead'); ?></th>
		<th><?php __('Inflicted IMetersRunning'); ?></th>
		<th><?php __('Inflicted IMetersPassing'); ?></th>
		<th><?php __('Sustained IInterceptions'); ?></th>
		<th><?php __('Sustained ICasualties'); ?></th>
		<th><?php __('Sustained ITackles'); ?></th>
		<th><?php __('Sustained IKO'); ?></th>
		<th><?php __('Sustained IStuns'); ?></th>
		<th><?php __('Sustained IInjuries'); ?></th>
		<th><?php __('Sustained IDead'); ?></th>
		<th><?php __('Calendar Id'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($calendar['StatisticsPlayer'] as $StatisticsPlayer):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $StatisticsPlayer['id'];?></td>
			<td><?php echo $StatisticsPlayer['player_id'];?></td>
			<td><?php echo $StatisticsPlayer['iMatchPlayed'];?></td>
			<td><?php echo $StatisticsPlayer['iMVP'];?></td>
			<td><?php echo $StatisticsPlayer['Inflicted_iPasses'];?></td>
			<td><?php echo $StatisticsPlayer['Inflicted_iCatches'];?></td>
			<td><?php echo $StatisticsPlayer['Inflicted_iInterceptions'];?></td>
			<td><?php echo $StatisticsPlayer['Inflicted_iTouchdowns'];?></td>
			<td><?php echo $StatisticsPlayer['Inflicted_iCasualties'];?></td>
			<td><?php echo $StatisticsPlayer['Inflicted_iTackles'];?></td>
			<td><?php echo $StatisticsPlayer['Inflicted_iKO'];?></td>
			<td><?php echo $StatisticsPlayer['Inflicted_iStuns'];?></td>
			<td><?php echo $StatisticsPlayer['Inflicted_iInjuries'];?></td>
			<td><?php echo $StatisticsPlayer['Inflicted_iDead'];?></td>
			<td><?php echo $StatisticsPlayer['Inflicted_iMetersRunning'];?></td>
			<td><?php echo $StatisticsPlayer['Inflicted_iMetersPassing'];?></td>
			<td><?php echo $StatisticsPlayer['Sustained_iInterceptions'];?></td>
			<td><?php echo $StatisticsPlayer['Sustained_iCasualties'];?></td>
			<td><?php echo $StatisticsPlayer['Sustained_iTackles'];?></td>
			<td><?php echo $StatisticsPlayer['Sustained_iKO'];?></td>
			<td><?php echo $StatisticsPlayer['Sustained_iStuns'];?></td>
			<td><?php echo $StatisticsPlayer['Sustained_iInjuries'];?></td>
			<td><?php echo $StatisticsPlayer['Sustained_iDead'];?></td>
			<td><?php echo $StatisticsPlayer['calendar_id'];?></td>
			<td class="actions">
				<?php echo $html->link(__('View', true), array('controller' => 'player_statistics', 'action' => 'view', $StatisticsPlayer['id'])); ?>
				<?php echo $html->link(__('Edit', true), array('controller' => 'player_statistics', 'action' => 'edit', $StatisticsPlayer['id'])); ?>
				<?php echo $html->link(__('Delete', true), array('controller' => 'player_statistics', 'action' => 'delete', $StatisticsPlayer['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $StatisticsPlayer['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('New Player Statistic', true), array('controller' => 'player_statistics', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
